<?php
class sysPagesFForm extends sfForm{
	public function configure(){
		$this->setWidgets(array(
			'content'     => new sfWidgetFormTextarea(),
		));
		
		$this->setValidators(array(
			'content' => new sfValidatorString(array('required' => false)),
		));
		parent::configure();
		
		
		/*
		 * Setting name of form
		 */
		$this->widgetSchema->setNameFormat('SysPages[%s]');
		$this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
	}
	
}
